]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Skip source_check stage when appropriate
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 12 Feb 2019 19:17:07 +0000 (20:17 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 26 Feb 2019 21:08:17 +0000 (21:08 +0000)
We don't have to run the static analyzer on javascript sources when
no javascript source was changed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

.gitlab-ci.yml

index 46d86f85c6c270533d7ef3f08b4f76be0d38c4e7..a08ee78ce764b4aa3e624b4a088ab0dfb3e22bb7 100644 (file)
@@ -23,6 +23,9 @@ js_check:
     script:
         - find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
         - (! grep -q . $JS_LOG)
+    only:
+        changes:
+            - js/**/*
     artifacts:
         paths:
             - ${JS_LOG}